#!/usr/bin/env ruby -wKU
#encoding: UTF-8

require 'singleton'

module Model
  
  class Tieba
    # mixin the singleton module
    include Singleton
    
    attr_accessor :novels
    
    def initialize
      @novels = []
    end
    
    def addNovel(novel)
      $logger.info(__FILE__) { __LINE__.to_s + " add a new novel " + novel.to_s } unless @novels.include? novel
      @novels << novel unless @novels.include? novel
    end
    
  end
  
end